package com.boot.netty.server.rpc.service;

import com.boot.netty.commons.entity.UserInfo;
import com.boot.netty.commons.service.UserInfoService;
import org.springframework.stereotype.Service;

@Service
public class UserInfoServiceImpl implements UserInfoService {

    @Override
    public UserInfo getUserInfo(UserInfo userInfo) {

        UserInfo userInfo1 = new UserInfo();
        userInfo1.setName("经过netty服务端处理过的UserInfo:"+userInfo.getName());

        return userInfo1;
    }
}
